package com.eurasia.assignment.controller.dto;

import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;
import jakarta.validation.constraints.Positive;
import lombok.Data;

/**
 * 创建项目请求DTO
 */
@Data
public class CreateProjectRequest {
    @NotBlank(message = "项目名称不能为空")
    private String name;
    
    @NotBlank(message = "项目类型不能为空")
    private String type;
    
    @NotBlank(message = "课程不能为空")
    private String course;
    
    @NotNull(message = "项目分数不能为空")
    @Positive(message = "项目分数必须为正数")
    private Integer points;
    
    private String creator;

    private String startTime;
    
    private String finishTime;
    
    private String comment;
} 